package com.fifth.home.service;

import com.fifth.common.pojo.dto.CommonResult;
import com.fifth.common.pojo.entity.Zone;
import com.fifth.common.pojo.entity.ZoneBusiness;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fifth.home.pojo.vo.ZoneBus;

/**
 * <p>
 * 专区课程关联表 服务类
 * </p>
 *
 * @author 第五组
 * @since 2022-09-05
 */
public interface IZoneBusinessService extends IService<ZoneBusiness> {

    CommonResult managementZoneAndBusiness(Integer currentPage, Integer pageSize, ZoneBus zoneBus);

    CommonResult manageUnstockedZoneAndBusiness(Integer currentPage, Integer pageSize, ZoneBus zoneBus);

    CommonResult addBusinessPutaway(String id);

    CommonResult changeIsDisable(String id, String isDisable);

    CommonResult changeSort(String id, Integer sort);

    CommonResult deleteZoneBusinessById(String id);

    CommonResult selectZoneBusiness();

    CommonResult selectAllZoneBusiness();

    CommonResult insert(Integer zoneId, String bid);

    CommonResult selectBusinessByName(Integer pageCurrent, Integer pageSize, String chindVal);
}
